package Io;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.Properties;

public class PropertiesIO {
    public static void main(String[] args) throws IOException {
        FileReader fis=new FileReader("userinfo.TXT");

        Properties pp=new Properties();
        pp.load(fis);
        System.out.println(pp.getProperty("name"));

    }
}
